home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5736 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: sable.ox.ac.uk!lady0065
  2. From: lady0065@sable.ox.ac.uk (David Hopwood)
  3. Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java
  4. Subject: Re: Readable Perl (was: Re: Relative Speed of Perl vs. Tcl vs. C)
  5. Date: 21 Feb 1996 04:33:56 GMT
  6. Organization: Oxford University, England
  7. Sender: david.hopwood@lmh.ox.ac.uk
  8. Message-ID: <4ge7bk$4vq@news.ox.ac.uk>
  9. References: <4e3a2u$eoa@wcap.centerline.com> <4e54vc$7sk@orac.mon.rnb.com> <ukd97hwzkc.fsf_-_@linda.teleport.com> <4gb3kp$lu7@gaia.ns.utk.edu>
  10. NNTP-Posting-Host: sable.ox.ac.uk
  11.  
  12. In article <4gb3kp$lu7@gaia.ns.utk.edu>,
  13. Matthew B. Kennel <kennel@msr.epm.ornl.gov> wrote:
  14. >Randal L. Schwartz (merlyn@stonehenge.com) wrote:
  15. >: >>>>> "John" == John Viega <jtv2j@mamba.cs.virginia.edu> writes:
  16. >
  17. >: John> People bitch about the readability of Perl non-stop.  In fact, I have
  18. >: John> heard the joke, "Perl, the only language you can uuencode, and not
  19. >: John> notice" twice this week around the department.
  20. >
  21. >: OK, now which do you find most readable...
  22.  
  23. This (Haskell):
  24.  
  25. cancount n = "I can count to "++(show n)++"\n"
  26. concat (map cancount [1..10])
  27.  
  28. David Hopwood
  29. david.hopwood@lmh.ox.ac.uk
  30.  
  31.